package cn.wubo.moredb.db1.service.impl;

import cn.wubo.moredb.db1.entity.Db1OneTableEntity;
import cn.wubo.moredb.db1.repository.Db1OneTableRepository;
import cn.wubo.moredb.db1.service.Db1OneTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Db1OneTableServiceImpl implements Db1OneTableService {

    @Autowired
    Db1OneTableRepository oneTableRepository;

    @Override
    public List<Db1OneTableEntity> findAll() {
        return oneTableRepository.findAll();
    }
}
